
export default function request({url,data,method,success}){
    wx.request({
      url:"http://web.woniulab.com:8005"+url,
      data,
      method, 
      success,
      header:{
        Authorization:"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJvcGVuaWQiOiJvT0dHczVLYk0zVVhFd0t6ZHdCalo5Z2tlNUdBIiwiX2lkIjoiNjEyZDkwN2Y1MWNhMmIxMjQ2YjNjMGEyIiwic2Vzc2lvbl9rZXkiOiJXN0NpaEZaMnhVMElPNVVqM2pTV0d3PT0iLCJpYXQiOjE2MzAzNzYxNzF9.md_FVvwuDpH3tMvFR_ruCzihk1qQBW6KdKg9Gm2Vg80"
      }
    });
}